package wsz.service.impl;

import wsz.UserService;

import java.util.concurrent.TimeUnit;

/**
 * @author wsz
 * @date 2021/12/10 20:07
 **/
public class UserServiceImpl implements UserService {
    @Override
    public String sayHello(String msg) {
        try {
            TimeUnit.SECONDS.sleep(3);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "hello:"+msg;
    }
}
